ADP\BaseVersion\Includes\Core\Rule\PackageRule A

Total Complexity 74
Dependencies 9
Dependents 7
Total lines 673
Lines of code 238
Logical lines of code 94
Comment lines 249
Methods 58
Properties 26

Methods 58

Method Rating Maintainability Complexity Lines of code
__clone()
S
60 3 15
setRoleDiscounts()
S
67 3 8
installProductAdjustmentHandler()
S
73 3 5
setAutoAddStrategy()
S
64 2 13
__construct()
S
57 1 16
hasProductRangeAdjustment()
S
79 2 3
addPackage()
S
74 2 5
setItemGiftLimit()
S
78 2 3
installProductRangeAdjustmentHandler()
S
74 2 5
setApplyFirstTo()
S
66 2 10
setPackages()
S
71 2 6
hasProductAdjustment()
S
79 2 3
setItemGiftStrategy()
S
67 2 9
setAutoAddLimit()
S
78 2 3
getReplaceAutoAddsCode()
S
82 1 3
getApplyFirstTo()
S
82 1 3
setReplaceAutoAdds()
S
80 1 3
isReplaceAutoAdds()
S
82 1 3
getAutoAddRemoveDisable()
S
82 1 3
getAutoAddSubtotalDivider()
S
82 1 3
setAutoAddSubtotalDivider()
S
80 1 3
setReplaceAutoAddsCode()
S
81 1 3
getRoleDiscounts()
S
82 1 3
setAutoAddRemoveDisable()
S
81 1 3
getAutoAddShowAsRecommended()
S
82 1 3
setAutoAddShowAsRecommended()
S
80 1 3
getSortableApplyMode()
S
82 1 3
setSortableApplyMode()
S
81 1 3
getSortableBlocksPriority()
S
82 1 3
setSortableBlocksPriority()
S
81 1 3
isDontApplyBulkIfRolesMatched()
S
82 1 3
setMaxAmountForGifts()
S
81 1 3
setDontApplyBulkIfRolesMatched()
S
81 1 3
getAutoAddLimit()
S
82 1 3
getAutoAddsCollection()
S
82 1 3
getAutoAddStrategy()
S
82 1 3
isItemGiftsUseProductFromFilter()
S
82 1 3
getPackages()
S
82 1 3
buildProcessor()
S
79 1 3
setPackagesCountLimit()
S
80 1 3
getPackagesCountLimit()
S
82 1 3
getProductAdjustmentHandler()
S
82 1 3
getProductRangeAdjustmentHandler()
S
82 1 3
setItemGifts()
S
77 1 4
getItemGiftsCollection()
S
82 1 3
setItemGiftsUseProductFromFilter()
S
81 1 3
getItemGiftStrategy()
S
82 1 3
isAutoAddUseProductFromFilter()
S
82 1 3
getItemGiftLimit()
S
82 1 3
setItemGiftSubtotalDivider()
S
80 1 3
getItemGiftSubtotalDivider()
S
82 1 3
isReplaceItemGifts()
S
82 1 3
setReplaceItemGifts()
S
80 1 3
getReplaceItemGiftsCode()
S
82 1 3
setReplaceItemGiftsCode()
S
81 1 3
setAutoAdds()
S
77 1 4
setAutoAddUseProductFromFilter()
S
81 1 3
getMaxAmountForGifts()
S
82 1 3